<!--
 * @description: vue3的
 * @Author: lhr
 * @Date: 2020-12-02 20:09:08
 * @LastEditors: lhr
 * @LastEditTime: 2020-12-04 17:24:59
-->
<template>
  <input
    type="text"
    :value="modelValue"
    @input="$emit('update:modelValue', $event.target.value)"
  />
</template>
<script>
export default {
  props: ["modelValue"],
};
</script>
